package com.zhiyou100.util;

import java.util.Date;

public class DateUtil {


	public static long drationFromNowTo(Date date) {

		Date now = new Date();

		return (now.getTime() - date.getTime()) / 1000;	
	}
}
